16. Implementation
Implementation: MC Control: GLIE
The pseudocode for (first-visit) GLIE MC control can be found below. (Feel free to implement either the first-visit or every-visit MC method. In the game of Blackjack, both the first-visit and every-visit methods return identical results.)

Please use the next concept to complete Part 3: MC Control: GLIE of Monte_Carlo.ipynb
. Remember to save your work!
If you'd like to reference the pseudocode while working on the notebook, you are encouraged to open this sheet in a new window.
Feel free to check your solution by looking at the corresponding section in Monte_Carlo_Solution.ipynb
.